package fun.tan90.solon.listener;

import org.noear.solon.annotation.Component;
import org.noear.solon.core.event.AppPrestopEndEvent;
import org.noear.solon.core.event.EventListener;

@Component
public class AppPrestopEndEventListener implements EventListener<AppPrestopEndEvent> {
    @Override
    public void onEvent(AppPrestopEndEvent event) throws Throwable {
        //event.app(); //获取应用对象
        System.out.println("AppPrestopEndEventListener");
    }
}